<template>
  <div>
    <van-swipe class="my-swipe"  :autoplay="autoplay" >
      <van-swipe-item v-for="(item,index) of imagelist" :key="index">
          <!-- <img :src="item" alt=""> -->
          <van-image fit="fill" :src="item" />
      </van-swipe-item>
    </van-swipe>
  </div>
</template>

<script>
export default {
    props:{
        imagelist:{
            type:Array,
            default:undefined
        },
        autoplay:Number,
        // swipperheight:{
        //     type:Number,
        //     default:15
        // }
    }
}
</script>



<style scoped>
.my-swipe{
    width: 100%;

}
.van-image {
  vertical-align: top;
}
</style>
